package com.sudo.boot.service.wx.converter;

import com.sudo.boot.common.constant.ConstantSys;
import com.sudo.boot.mapper.wx.entity.WxUser;
import com.sudo.boot.weixin.pojo.WeChatUser;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

@Mapper(builder = @Builder(disableBuilder = true), componentModel = ConstantSys.SPRING,unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface WxUserConverter {
    WxUser toWxUser(WeChatUser weChatUser);
}
